package model.entityes.exception;

import model.UserException;

public class StringContentException extends UserException
{
    private static final long serialVersionUID = 1L;

    public static StringContentException getExceptionWhitUserMessage(String userMessage)
    {
	if( userMessage == null) userMessage = "";
	StringContentException err = new StringContentException();
	err.setUserException(userMessage);
	return err;
    }
    
    public static StringContentException errorIdEqNull()
    {
	return StringContentException.getExceptionWhitUserMessage("Error: ID == null");
    }
}
